package com.woniuxy.book87;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan(value = "com.woniuxy.book87.mapper") //实例化所有的接口对象 一定要配置到mapper接口的包
@EnableTransactionManagement
public class Book87Application {

    public static void main(String[] args) {
      //  try {
            SpringApplication.run(Book87Application.class, args);
       // }catch (Exception e) {
        //    e.printStackTrace();
       // }
    }
}
